package com.administrator.cloudapplication.activitys;

import android.view.View;
import android.widget.RelativeLayout;
import android.widget.Toast;

import com.administrator.cloudapplication.R;
import com.administrator.cloudapplication.base.BaseActivity;

/**
 * 公交查询的页面，由于公交查询的百度接口收费，所以暂时无法进行下一步。
 * Created by 祁晓峰 on 2017/4/26.
 */

public class BusQueryActivity extends BaseActivity {
    RelativeLayout btn_bus;

    @Override
    protected void initView() {
        setContentView(R.layout.activity_bus_query);
        btn_bus = (RelativeLayout) findViewById(R.id.btn_bus);
        initTitleView();
        tvTitle.setText("公交查询");
    }

    @Override
    protected void initData() {
        btn_bus.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Toast.makeText(BusQueryActivity.this, "系统维护中！", Toast.LENGTH_SHORT).show();
            }
        });
    }

    @Override
    protected void onLeftClick() {
        finish();
    }

    @Override
    protected void onRightClick() {

    }
}
